package main.Link;

/**
 * Created by a_lyulyasov on 15.05.14.
 */
public class PVCode {

    public void PVCode() {
    }

    public String getRsrcShortName (String pv) {

        String rsrcShortName;

        switch (pv) {
            case "PV01":
            case "PV02":
            case "PV03":
            case "PV05":
            case "PV06":
            case "PV35":
            case "PV36":
            case "PV20":
                rsrcShortName = "ОБС";
                break;
            case "PV04":
            case "PV39":
                rsrcShortName = "МК";
                break;
            case "PV07":
            case "PV08":
            case "PV17":
            case "PV18":
            case "PV37":
            case "PV38":
                rsrcShortName = "ТХМ";
                break;
            case "PV09":
            case "PV34":
                rsrcShortName = "ТИ";
                break;
            case "PV10":
                rsrcShortName = "АЗО";
                break;
            case "PV11":
            case "PV31":
            case "PV32":
            case "PV33":
                rsrcShortName = "МЕХ";
                break;
            case "PV12":
            case "PV13":
            case "PV19":
            case "PV40":
                rsrcShortName = "ЭС";
                break;
            case "PV14":
            case "PV15":
            case "PV16":
                rsrcShortName = "КИПА";
                break;
            default:
                rsrcShortName = "T";
        }

        return rsrcShortName;
    }

}
